package cn.edu.zut.cs.Model;

import org.springframework.stereotype.Component;

@Component
public class Firends {
    private int id;
    private String left_name;//申请者
    private String right_name;//被申请者

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLeft_name() {
        return left_name;
    }

    public void setLeft_name(String left_name) {
        this.left_name = left_name;
    }

    public String getRight_name() {
        return right_name;
    }

    public void setRight_name(String right_name) {
        this.right_name = right_name;
    }

    @Override
    public String toString() {
        return "Firends{" +
                "id=" + id +
                ", left_name='" + left_name + '\'' +
                ", right_name='" + right_name + '\'' +
                '}';
    }
}
